    
class gesture():
    """
    classdocs
    """
    
    def __init__(self, gestureName , features):
        """
        Constructor . features = [aNorm , aX , aY , aZ , gX , gY , gZ , times]
        """
        self.name = gestureName
        self.score = None
        self.aNorm = features[0]
        self.aX = features[1]
        self.aY = features[2]
        self.aZ = features[3]
        self.gX = features[4]
        self.gY = features[5]
        self.gZ = features[6]
        self.times = features[7]
        self.noInstances = self.aNorm.__len__()
        self.startAccel = []
        self.netaX = []
        self.netaY = []
        self.netaZ = []
        self.netaNorm = []
        self.worldaX = []
        self.worldaY = []
        self.worldaZ = []
        self.worldaNorm = []
        self.velX = []
        self.velY = []
        self.velZ = []
        self.posX = []
        self.posY = []
        self.posZ = []
        self.energy = []
        
    def getGestureName(self):
        return self.name
    
    def returnNoInstances(self):
        return self.noInstances
    
    def returnaNorm(self):
        return self.aNorm
    
    def returnaX(self):
        return self.aX
    
    def returnaY(self):
        return self.aY
    
    def returnaZ(self):
        return self.aZ
    
    def returnworldaX(self):
        return self.worldaX
    
    def returnworldaY(self):
        return self.worldaY
    
    def returnworldaZ(self):
        return self.worldaZ
    
    def returnworldaNorm(self):
        return self.worldaNorm
    
    def returngX(self):
        return self.gX
    
    def returngY(self):
        return self.gY
    
    def returngZ(self):
        return self.gZ
    
    def returnTimes(self):
        return self.times
        
    def setScore(self, score):
        self.score = score
        
    def returnScore(self):
        return self.score
        
    def setStartAccel(self , startAccelList):
        self.startAccel = startAccelList
    
    def getStartAccel(self):
        return self.startAccel
    
    def setAngVel(self, X, Y, Z):
        self.gX=X
        self.gY=Y
        self.gZ=Z
    
    def setFrameAcc(self, X, Y, Z, Norm):
        self.aX=X
        self.aY=Y
        self.aZ=Z
        self.aNorm=Norm
    
    def setWrldAcc(self, X, Y, Z, Norm):
        self.worldaX=X
        self.worldaY=Y
        self.worldaZ=Z
        self.worldaNorm=Norm
        
    def setVelocities(self , velTup):
        self.velX = velTup[0]
        self.velY= velTup[1]
        self.velZ = velTup[2]
     
    def setPositions(self , posTup):
        self.posX = posTup[0]
        self.posY= posTup[1]
        self.posZ = posTup[2]   
    
    def setEnergy(self , e):
        self.energy = e
        
    def returnVelocities(self):
        return (self.velX , self.velY , self.velZ)
        
    
        
        
        
        
        
        